package com.attilax.util;

import java.io.File;
import java.io.FilenameFilter;
import java.util.List;
import java.util.function.Function;

import com.attilax.io.dirx;
import com.attilax.io.pathx;

public class Index4allfilesGener {

	public static void main(String[] args) {
		String dir="c:";
		File[] ati_dirs=new File(dir).listFiles( new   FilenameFilter(){

			@Override
			public boolean accept(File arg0, String arg1) {
				 if(  arg0.isDirectory() && arg1.toLowerCase().startsWith("ati"))
				return true;
				return false;
			}} );
		for (File f : ati_dirs) {
		//	filex.getFileName_mainname_noExtName_nopath(fileName)
		//	String mainname=pathx.getFileName_mainname_noExtName_nopath(f.getAbsolutePath());
		//	List<File> zips=getZips(mainname);
			dirx.traveV3(f.getAbsolutePath(), new Function<String,Object>() {

				@Override
				public Object apply(String f) {
					// TODO Auto-generated method stub
					return null;
				}

			 
			});
		}

	}

}
